x86: Add conversion from a xen map to an mfn
authorAndres Lagar-Cavilla <andres@lagarcavilla.org>
Thu, 1 Dec 2011 14:21:28 +0000 (14:21 +0000)
committerAndres Lagar-Cavilla <andres@lagarcavilla.org>
Thu, 1 Dec 2011 14:21:28 +0000 (14:21 +0000)
commit6f76ec6118c6be95c5ad87c4c138e876cad2d90f
tree6ac8f2feef480bb9e82a675e5e1ac08f61bf644d
parentc42f21961b6ffab77acf5f3bad31ea2392979f6a
x86: Add conversion from a xen map to an mfn

This conversion is a trivial invocation of virt_to_mfn in 64 bits.
In 32 bits it uses the linear_map.

Signed-off-by: Andres Lagar-Cavilla <andres@lagarcavilla.org>
Acked-by: Tim Deegan <tim@xen.org>
Committed-by: Tim Deegan <tim@xen.org>
xen/include/asm-x86/page.h
xen/include/asm-x86/x86_32/page.h
xen/include/asm-x86/x86_64/page.h